┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
prd-web-01.centraldc.gr
LOCATION:
/usr/share/doc/perl-IO-Compress/io/gzip
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: gzstream
#!/usr/bin/perl use strict ; use warnings ; use IO::Compress::Gzip qw(gzip $GzipError); gzip '-' => '-', Minimal => 1 or die "gzstream: $GzipError\n" ; #exit 0; __END__ #my $gz = new IO::Compress::Gzip *STDOUT my $gz = new IO::Compress::Gzip '-' or die "gzstream: Cannot open stdout as gzip stream: $GzipError\n" ; while (<>) { $gz->write($_) or die "gzstream: Error writing gzip output stream: $GzipError\n" ; } $gz->close or die "gzstream: Error closing gzip output stream: $GzipError\n" ;
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 gzappend
?
392 B
2024-10-29 00:00
EDIT
📄 gzcat
?
488 B
2024-10-29 00:00
EDIT
📄 gzgrep
?
788 B
2024-10-29 00:00
EDIT
📄 gzstream
?
513 B
2024-10-29 00:00
EDIT